<template>
  <el-dialog
    append-to-body
    :title="info"
    :visible.sync="dialogVisible"
    :close-on-click-modal="false"
    align="left"
    v-loading="currLoading"
    element-loading-text="拼命加载中"
    element-loading-spinner="el-icon-loading"
    element-loading-background="rgba(0, 0, 0, 0.8)"
    width="800px">
    <div>订单确认</div>
    <div slot="footer" class="dialog-footer">
      <el-button @click="dialogVisible = false">取 消</el-button>
      <el-button type="primary" @click="submit">确 定</el-button>
    </div>
  </el-dialog>
</template>

<script>
export default {
  name: 'ConfirmOrderDialog',
  props:{
    successFunction:Function
  },
  data: function () {
    return {
      info:'订单确认',
      dialogVisible: false,
      currLoading: false,
    }
  },
  mounted () {
  },
  methods: {
    open: function () {
      this.dialogVisible = true
      this.$forceUpdate()
    },
  }
}
</script>

<style scoped>

</style>
